﻿#region << 版 本 注 释 >>
/*----------------------------------------------------------------
 * 创建者：zhaijc
 * 创建时间：2023/4/20 14:02:26
 * 版本：V1.0.0
 * 描述：
 *
 * ----------------------------------------------------------------
 * 修改人：
 * 时间：
 * 修改说明：
 *
 * 版本：V1.0.1
 *----------------------------------------------------------------*/
#endregion << 版 本 注 释 >>

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MedianSocketService.ProtocolParams
{
    public class RealTimeSampleData
    {
        /// <summary>
        /// 工步类型	1	参考工步类型数据结构
        /// </summary>
        [Description("工步类型-参考EnumWorkStepType")]
        public int stepType { get; set; }
        /// <summary>
        /// 运行状态
        /// </summary>
        [Description("运行状态")]
        public int runState { get; set; }
        /// <summary>
        ///    通道号
        /// </summary>
        [Description("通道号")]
        public int channel { get; set; }
        /// <summary>
        ///    工步序号
        /// </summary>
        [Description("工步序号")]
        public int stepNo { get; set; }
        /// <summary>
        ///    当前循环号
        /// </summary>
        [Description("当前循环号")]
        public int loopIndex { get; set; }
        /// <summary>
        ///    当前循环总次数
        /// </summary>
        [Description("当前循环总次数")]
        public int loopCount { get; set; }
        /// <summary>
        ///    运行时间	4	当前工步运行时间
        /// </summary>
        [Description("运行时间")]
        public int runTime { get; set; }
        /// <summary>
        ///    电池电压	4	电压值(V)
        /// </summary>
        [Description("电池电压")]
        public int batteryVoltage { get; set; }
        /// <summary>
        /// 电压2	4	电压值(V)
        /// </summary>
        [Description("电压2")]
        public int voltage2 { get; set; }
        /// <summary>
        /// 通道电流	4	电流值(A)
        /// </summary>
        [Description("通道电流")]
        public int channelCurrent { get; set; }
        /// <summary>
        /// 电池温度1	4	温度值(℃)
        /// </summary>
        [Description("电池温度1")]
        public int batteryTemperature1 { get; set; }
        /// <summary>
        /// 电池温度2	4	温度值(℃)
        /// </summary>
        [Description("电池温度2")]
        public int batteryTemperature2 { get; set; }
        /// <summary>
        /// 实时容量	4	容量值(Ah)
        /// </summary>
        [Description("实时容量")]
        public int realTimeCapacity { get; set; }
        /// <summary>
        /// 实时能量	4	能量值
        /// </summary>
        [Description("实时能量")]
        public int realTimeEnergy { get; set; }
        /// <summary>
        ///    直流内阻	4	内阻值
        /// </summary>
        [Description("直流内阻")]
        public int dcInnerResistance { get; set; }
        /// <summary>
        ///    接触阻抗	2	接触阻抗值
        /// </summary>
        [Description("接触阻抗")]
        public int contactResistance { get; set; }
        /// <summary>
        ///    环境温度1	2	温度值(℃)
        /// </summary>
        [Description("环境温度1")]
        public int environmentTemperature1 { get; set; }
        /// <summary>
        /// 环境温度2	2	温度值(℃)
        /// </summary>
        [Description("环境温度2")]
        public int environmentTemperature2 { get; set; }

        /// <summary>
        /// 火警温度	2	温度值(℃)
        /// </summary>
        [Description("火警温度")]
        public int fireAlarmTemperature { get; set; }
        /// <summary>
        /// 环境值	4	//真空压力或其它环境参数值
        /// </summary>
        [Description("环境值")]
        public int environmentVal { get; set; }
        /// <summary>
        /// 错误码	2	错误码
        /// </summary>
        [Description("错误码")]
        public int errorCode { get; set; }
        /// <summary>
        ///    电源告警码	8	电源告警码
        /// </summary>
        [Description("电源告警码")]
        public long powerAlarmCode { get; set; }

    }
}
